package com.basic.sys.dao.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DataMonitorExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DataMonitorExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPumpIdIsNull() {
            addCriterion("pump_id is null");
            return (Criteria) this;
        }

        public Criteria andPumpIdIsNotNull() {
            addCriterion("pump_id is not null");
            return (Criteria) this;
        }

        public Criteria andPumpIdEqualTo(String value) {
            addCriterion("pump_id =", value, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdNotEqualTo(String value) {
            addCriterion("pump_id <>", value, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdGreaterThan(String value) {
            addCriterion("pump_id >", value, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdGreaterThanOrEqualTo(String value) {
            addCriterion("pump_id >=", value, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdLessThan(String value) {
            addCriterion("pump_id <", value, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdLessThanOrEqualTo(String value) {
            addCriterion("pump_id <=", value, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdLike(String value) {
            addCriterion("pump_id like", value, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdNotLike(String value) {
            addCriterion("pump_id not like", value, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdIn(List<String> values) {
            addCriterion("pump_id in", values, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdNotIn(List<String> values) {
            addCriterion("pump_id not in", values, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdBetween(String value1, String value2) {
            addCriterion("pump_id between", value1, value2, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpIdNotBetween(String value1, String value2) {
            addCriterion("pump_id not between", value1, value2, "pumpId");
            return (Criteria) this;
        }

        public Criteria andPumpNameIsNull() {
            addCriterion("pump_name is null");
            return (Criteria) this;
        }

        public Criteria andPumpNameIsNotNull() {
            addCriterion("pump_name is not null");
            return (Criteria) this;
        }

        public Criteria andPumpNameEqualTo(String value) {
            addCriterion("pump_name =", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameNotEqualTo(String value) {
            addCriterion("pump_name <>", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameGreaterThan(String value) {
            addCriterion("pump_name >", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameGreaterThanOrEqualTo(String value) {
            addCriterion("pump_name >=", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameLessThan(String value) {
            addCriterion("pump_name <", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameLessThanOrEqualTo(String value) {
            addCriterion("pump_name <=", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameLike(String value) {
            addCriterion("pump_name like", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameNotLike(String value) {
            addCriterion("pump_name not like", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameIn(List<String> values) {
            addCriterion("pump_name in", values, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameNotIn(List<String> values) {
            addCriterion("pump_name not in", values, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameBetween(String value1, String value2) {
            addCriterion("pump_name between", value1, value2, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameNotBetween(String value1, String value2) {
            addCriterion("pump_name not between", value1, value2, "pumpName");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNull() {
            addCriterion("data_type is null");
            return (Criteria) this;
        }

        public Criteria andDataTypeIsNotNull() {
            addCriterion("data_type is not null");
            return (Criteria) this;
        }

        public Criteria andDataTypeEqualTo(String value) {
            addCriterion("data_type =", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotEqualTo(String value) {
            addCriterion("data_type <>", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThan(String value) {
            addCriterion("data_type >", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeGreaterThanOrEqualTo(String value) {
            addCriterion("data_type >=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThan(String value) {
            addCriterion("data_type <", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLessThanOrEqualTo(String value) {
            addCriterion("data_type <=", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeLike(String value) {
            addCriterion("data_type like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotLike(String value) {
            addCriterion("data_type not like", value, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeIn(List<String> values) {
            addCriterion("data_type in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotIn(List<String> values) {
            addCriterion("data_type not in", values, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeBetween(String value1, String value2) {
            addCriterion("data_type between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andDataTypeNotBetween(String value1, String value2) {
            addCriterion("data_type not between", value1, value2, "dataType");
            return (Criteria) this;
        }

        public Criteria andOprBoIdIsNull() {
            addCriterion("opr_bo_id is null");
            return (Criteria) this;
        }

        public Criteria andOprBoIdIsNotNull() {
            addCriterion("opr_bo_id is not null");
            return (Criteria) this;
        }

        public Criteria andOprBoIdEqualTo(String value) {
            addCriterion("opr_bo_id =", value, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdNotEqualTo(String value) {
            addCriterion("opr_bo_id <>", value, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdGreaterThan(String value) {
            addCriterion("opr_bo_id >", value, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdGreaterThanOrEqualTo(String value) {
            addCriterion("opr_bo_id >=", value, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdLessThan(String value) {
            addCriterion("opr_bo_id <", value, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdLessThanOrEqualTo(String value) {
            addCriterion("opr_bo_id <=", value, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdLike(String value) {
            addCriterion("opr_bo_id like", value, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdNotLike(String value) {
            addCriterion("opr_bo_id not like", value, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdIn(List<String> values) {
            addCriterion("opr_bo_id in", values, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdNotIn(List<String> values) {
            addCriterion("opr_bo_id not in", values, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdBetween(String value1, String value2) {
            addCriterion("opr_bo_id between", value1, value2, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprBoIdNotBetween(String value1, String value2) {
            addCriterion("opr_bo_id not between", value1, value2, "oprBoId");
            return (Criteria) this;
        }

        public Criteria andOprUserNameIsNull() {
            addCriterion("opr_user_name is null");
            return (Criteria) this;
        }

        public Criteria andOprUserNameIsNotNull() {
            addCriterion("opr_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andOprUserNameEqualTo(String value) {
            addCriterion("opr_user_name =", value, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameNotEqualTo(String value) {
            addCriterion("opr_user_name <>", value, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameGreaterThan(String value) {
            addCriterion("opr_user_name >", value, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("opr_user_name >=", value, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameLessThan(String value) {
            addCriterion("opr_user_name <", value, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameLessThanOrEqualTo(String value) {
            addCriterion("opr_user_name <=", value, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameLike(String value) {
            addCriterion("opr_user_name like", value, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameNotLike(String value) {
            addCriterion("opr_user_name not like", value, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameIn(List<String> values) {
            addCriterion("opr_user_name in", values, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameNotIn(List<String> values) {
            addCriterion("opr_user_name not in", values, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameBetween(String value1, String value2) {
            addCriterion("opr_user_name between", value1, value2, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andOprUserNameNotBetween(String value1, String value2) {
            addCriterion("opr_user_name not between", value1, value2, "oprUserName");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andCountValIsNull() {
            addCriterion("count_val is null");
            return (Criteria) this;
        }

        public Criteria andCountValIsNotNull() {
            addCriterion("count_val is not null");
            return (Criteria) this;
        }

        public Criteria andCountValEqualTo(Long value) {
            addCriterion("count_val =", value, "countVal");
            return (Criteria) this;
        }

        public Criteria andCountValNotEqualTo(Long value) {
            addCriterion("count_val <>", value, "countVal");
            return (Criteria) this;
        }

        public Criteria andCountValGreaterThan(Long value) {
            addCriterion("count_val >", value, "countVal");
            return (Criteria) this;
        }

        public Criteria andCountValGreaterThanOrEqualTo(Long value) {
            addCriterion("count_val >=", value, "countVal");
            return (Criteria) this;
        }

        public Criteria andCountValLessThan(Long value) {
            addCriterion("count_val <", value, "countVal");
            return (Criteria) this;
        }

        public Criteria andCountValLessThanOrEqualTo(Long value) {
            addCriterion("count_val <=", value, "countVal");
            return (Criteria) this;
        }

        public Criteria andCountValIn(List<Long> values) {
            addCriterion("count_val in", values, "countVal");
            return (Criteria) this;
        }

        public Criteria andCountValNotIn(List<Long> values) {
            addCriterion("count_val not in", values, "countVal");
            return (Criteria) this;
        }

        public Criteria andCountValBetween(Long value1, Long value2) {
            addCriterion("count_val between", value1, value2, "countVal");
            return (Criteria) this;
        }

        public Criteria andCountValNotBetween(Long value1, Long value2) {
            addCriterion("count_val not between", value1, value2, "countVal");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNull() {
            addCriterion("is_enabled is null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNotNull() {
            addCriterion("is_enabled is not null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledEqualTo(Short value) {
            addCriterion("is_enabled =", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotEqualTo(Short value) {
            addCriterion("is_enabled <>", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThan(Short value) {
            addCriterion("is_enabled >", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThanOrEqualTo(Short value) {
            addCriterion("is_enabled >=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThan(Short value) {
            addCriterion("is_enabled <", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThanOrEqualTo(Short value) {
            addCriterion("is_enabled <=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIn(List<Short> values) {
            addCriterion("is_enabled in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotIn(List<Short> values) {
            addCriterion("is_enabled not in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledBetween(Short value1, Short value2) {
            addCriterion("is_enabled between", value1, value2, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotBetween(Short value1, Short value2) {
            addCriterion("is_enabled not between", value1, value2, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andSystemIdIsNull() {
            addCriterion("system_id is null");
            return (Criteria) this;
        }

        public Criteria andSystemIdIsNotNull() {
            addCriterion("system_id is not null");
            return (Criteria) this;
        }

        public Criteria andSystemIdEqualTo(Short value) {
            addCriterion("system_id =", value, "systemId");
            return (Criteria) this;
        }

        public Criteria andSystemIdNotEqualTo(Short value) {
            addCriterion("system_id <>", value, "systemId");
            return (Criteria) this;
        }

        public Criteria andSystemIdGreaterThan(Short value) {
            addCriterion("system_id >", value, "systemId");
            return (Criteria) this;
        }

        public Criteria andSystemIdGreaterThanOrEqualTo(Short value) {
            addCriterion("system_id >=", value, "systemId");
            return (Criteria) this;
        }

        public Criteria andSystemIdLessThan(Short value) {
            addCriterion("system_id <", value, "systemId");
            return (Criteria) this;
        }

        public Criteria andSystemIdLessThanOrEqualTo(Short value) {
            addCriterion("system_id <=", value, "systemId");
            return (Criteria) this;
        }

        public Criteria andSystemIdIn(List<Short> values) {
            addCriterion("system_id in", values, "systemId");
            return (Criteria) this;
        }

        public Criteria andSystemIdNotIn(List<Short> values) {
            addCriterion("system_id not in", values, "systemId");
            return (Criteria) this;
        }

        public Criteria andSystemIdBetween(Short value1, Short value2) {
            addCriterion("system_id between", value1, value2, "systemId");
            return (Criteria) this;
        }

        public Criteria andSystemIdNotBetween(Short value1, Short value2) {
            addCriterion("system_id not between", value1, value2, "systemId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}